﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRest.Core.Extensions.Documentation
{
    public class ServiceDocumentationRequestedEventArgs : EventArgs
    {
        public readonly Type ServiceType;

        public ServiceDocumentationRequestedEventArgs(Type serviceType)
        {
            this.ServiceType = serviceType;
        }

        internal DocumentationHandler OptionsHandler { get; set; }

        public void SetOptionsHandler(DocumentationHandler handler)
        {
            this.OptionsHandler = handler;
        }
    }
}
